package com.ht.interfaces;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {
	    "com.ht.interfaces",  // 当前项目的包
	    "com.ht.api.db"        // ht-db 项目的包
	})
public class HtInterfaceMain extends SpringBootServletInitializer {
	public static void main(String[] args) {
		SpringApplication.run(HtInterfaceMain.class, args);
	}
}
